#ifndef NEWEXPENSE_H
#define NEWEXPENSE_H

#include <QDialog>
#include <QMainWindow>
#include "databasehelper.h"

namespace Ui {
class NewExpense;
}

class NewExpenseDialog : public QDialog
{
    Q_OBJECT

public:
    explicit NewExpenseDialog(QDialog *parent = 0);
    ~NewExpenseDialog();
    Databasehelper database;

private slots:
    void on_buttonBox_rejected();
    void on_buttonBox_accepted();
    void on_colorButtonGroup_clicked(int id);

private:
    Ui::NewExpense *ui;
    QString color;
    QString expendName;
    void Initialize();


};

#endif // NEWEXPENSE_H
